d21aa947567a13d599a9363d97d514bcfbde6a24,robototextview/src/main/java/com/devspark/robototextview/widget/RobotoRadioButton.java,RobotoRadioButton,onInitTypeface,#Context#AttributeSet#number#,95
Before Change
if (attrs != null) {
TypedArray values = context.obtainStyledAttributes(attrs, R.styleable.RobotoTextView, defStyle, 0);
typefaceValue = values.getInt(R.styleable.RobotoTextView_typeface, 0);
values.recycle();
}
Typeface robotoTypeface = RobotoTypefaceManager.obtainTypeface(context, typefaceValue);
After Change
int typefaceValue = RobotoTypefaceManager.ROBOTO_REGULAR;
if (attrs != null) {
TypedArray values = context.obtainStyledAttributes(attrs, R.styleable.RobotoTextView, defStyle, 0);
if (values != null) {
typefaceValue = values.getInt(R.styleable.RobotoTextView_typeface, typefaceValue);
values.recycle();
}
}